package net.factoryOpen.quickfactory.manufacturing.ehs.mapper;

import java.util.List;
import net.factoryOpen.quickfactory.manufacturing.ehs.domain.EhsWaterFoodieCategory;

/**
 * 水耗设备分类Mapper接口
 * 
 * @author factoryOpen
 * @date 2024-07-04
 */
public interface EhsWaterFoodieCategoryMapper 
{
    /**
     * 查询水耗设备分类
     * 
     * @param id 水耗设备分类主键
     * @return 水耗设备分类
     */
    public EhsWaterFoodieCategory selectEhsWaterFoodieCategoryById(Long id);

    /**
     * 查询水耗设备分类列表
     * 
     * @param ehsWaterFoodieCategory 水耗设备分类
     * @return 水耗设备分类集合
     */
    public List<EhsWaterFoodieCategory> selectEhsWaterFoodieCategoryList(EhsWaterFoodieCategory ehsWaterFoodieCategory);

    /**
     * 新增水耗设备分类
     * 
     * @param ehsWaterFoodieCategory 水耗设备分类
     * @return 结果
     */
    public int insertEhsWaterFoodieCategory(EhsWaterFoodieCategory ehsWaterFoodieCategory);

    /**
     * 修改水耗设备分类
     * 
     * @param ehsWaterFoodieCategory 水耗设备分类
     * @return 结果
     */
    public int updateEhsWaterFoodieCategory(EhsWaterFoodieCategory ehsWaterFoodieCategory);

    /**
     * 删除水耗设备分类
     * 
     * @param id 水耗设备分类主键
     * @return 结果
     */
    public int deleteEhsWaterFoodieCategoryById(Long id);

    /**
     * 批量删除水耗设备分类
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEhsWaterFoodieCategoryByIds(Long[] ids);
}
